package com.black.utils.config.loader;

import com.alibaba.fastjson2.JSONObject;
import com.black.utils.file.FileTypeEnum;

import java.io.IOException;
import java.util.Arrays;
import java.util.List;

/**
 * TODO implements
 * @author ylx
 */
public class YMLLoader extends Loader{
    @Override
    public JSONObject loadJsonConfig(String sourcePath) throws IOException {
        return null;
    }

    @Override
    public List<FileTypeEnum> getTypes() {
        return Arrays.asList(FileTypeEnum.YML, FileTypeEnum.YAML);
    }
}
